/*
 * @Description:
 * @Author: qingyang
 * @Date: 2023-01-03 16:01:48
 * @LastEditors: qingyang
 * @LastEditTime: 2023-06-29 14:14:05
 */
import {
  FACTOR_STATUS,
  FACTOR_SOURCE_TYPE,
  FACTOR_CATEGORY,
  DATA_SOURCE,
  accountBoundaryEnum,
  ModelMethodEnum,
  ModelFillTypeCnEnum,
  EmissionScopeEnum,
  configStatusTypeEnum
} from '@/constants/enum';
export default {
  [FACTOR_STATUS.WAIT_APPROVAL]: '待审核',
  [FACTOR_STATUS.RELEASE]: '已发布',
  [FACTOR_STATUS.REJECT]: '被驳回',

  [FACTOR_SOURCE_TYPE.SELF]: '自建因子',
  [FACTOR_SOURCE_TYPE.SALE]: '外购因子',
  [FACTOR_SOURCE_TYPE.SYSTEM]: '系统导入',

  // 排放分类
  [FACTOR_CATEGORY.MATERIAL]: '材料',
  [FACTOR_CATEGORY.ITEM]: '零部件	',
  [FACTOR_CATEGORY.ENERGY]: '能源	',
  [FACTOR_CATEGORY.ACCESSORIES]: '辅料',
  [FACTOR_CATEGORY.DISCHARGE_TO_AIR]: '排放至空气',
  [FACTOR_CATEGORY.DISCHARGE_TO_WATER]: '排放至水域',
  [FACTOR_CATEGORY.ABANDON]: '废弃物及其处理',
  [FACTOR_CATEGORY.LOGISTICS]: '物流运输',
  [FACTOR_CATEGORY.OTHER]: '其他',

  // 数据来源
  [DATA_SOURCE.FIELD_MEASUREMENT]: '现场测量数据',
  [DATA_SOURCE.LITERATURE]: '文献数据',
  [DATA_SOURCE.LCA_REPORT]: '碳足迹报告数据',

  // 核算边界
  [accountBoundaryEnum.CRADLE_TO_GATE]: '摇篮到大门',
  [accountBoundaryEnum.CRADLE_TO_GRAVE]: '摇篮到坟墓',
  [accountBoundaryEnum.GATE_TO_GATE]: '大门到大门',
  [accountBoundaryEnum.CRADLE_TO_CRADLE]: '摇篮到摇篮',

  // 填报方式
  [ModelMethodEnum.BOM_TREE]: ModelFillTypeCnEnum.BOM_TREE,
  [ModelMethodEnum.AUTO_BOM]: ModelFillTypeCnEnum.AUTO_BOM,

  [EmissionScopeEnum.SCOPE_ONE]: '一',
  [EmissionScopeEnum.SCOPE_TWO]: '二',
  [EmissionScopeEnum.SCOPE_THREE]: '三',

  // 填报配置状态
  [configStatusTypeEnum.NEW]: '创建中',
  [configStatusTypeEnum.ON]: '生效中',
  [configStatusTypeEnum.OFF]: '已终止'
};
